﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Pibby.Core.IO.Tests
{
	[TestClass]
	public class SpecialFolderPathPairTests
	{
		[TestMethod]
		public void SpecialFolderPathPair_Init_FromEnum()
		{
			var folderPair = new SpecialFolderPathPair(Environment.SpecialFolder.MyDocuments);

			Assert.AreEqual(Environment.SpecialFolder.MyDocuments, folderPair.Folder);
		}

		[TestMethod]
		public void SpecialFolderPathPair_Init_FromName()
		{
			var folderPair = new SpecialFolderPathPair(Environment.SpecialFolder.MyDocuments.ToString());

			Assert.AreEqual(Environment.SpecialFolder.MyDocuments, folderPair.Folder);
		}

	}
}
